package com.zmzncs.lmtc.common.pojo.enums;

/**
 * 交易类型（支付类型（1：月租卡，2：时长卡，3：余额））
 */
public enum PayTypeEnum {

    MONTH(1, "月租卡"),
    DURATION(2, "时长卡"),
    BALANCE(3, "余额"),
    CASH(100, "现金"),
    UNKNOWN(99, "扫码"),  //  数据库没有该记录，暂时记为扫码
    ;

    private int code;

    private String massage;

    PayTypeEnum(int code, String massage){
        this.code = code;
        this.massage = massage;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMassage() {
        return massage;
    }

    public void setMassage(String massage) {
        this.massage = massage;
    }

}
